package com.example.gymlearning.entity;
// UserPointProgress.java


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserPointProgress {
    private Long id;
    private Long userId;
    private Long pointId;
    private String status; // NOT_STARTED-未开始, IN_PROGRESS-进行中, COMPLETED-完成
    private Integer bestScore; // 最佳得分
    private Date startTime;
    private Date completeTime;
    private Integer attemptCount; // 尝试次数
    private Integer learningCount; // 学习次数（计时记一次）
    private Integer totalDurationSeconds; // 总学习时长（秒）
    private Date createdTime;
    private Date updatedTime;
}
